package com.ordering.util;

import org.apache.commons.lang.xwork.StringUtils;

public class VerifyUtil
{
    //正则表达式-校验手机号码
    public static final String PHONE_REGEX = "^((13[0-9]|14[0-9]|15[0-9]|18[0-9])[0-9]{8})$";
    
    public static boolean isMsisdn(String msisdn)
    {
        if(StringUtils.isBlank(msisdn)){
            return false;
        }
        if(msisdn.matches(PHONE_REGEX)){
            return true;
        }
        return false;
    }
    
}
